﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace EmrDatastructure
{
    public class EmrUser
    {
        //[DataMember]
        //[Key, DatabaseGenerated(DatabaseGenerationOption.Identity)]
        //public Guid EmrUserId { get; set; }
        [DataMember]
        [Required, StringLength(256)]
        [Key]
        public string UserName { get; set; }
        [DataMember]
        [Required, StringLength(128)]
        public string Password { get; set; }
        [DataMember]
        [Required, StringLength(256)]
        public string Email { get; set; }
    }
}
